package com.zzyl;

import com.zzyl.properties.WeChatProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication // 标记为Spring Boot应用的启动类
@EnableConfigurationProperties(WeChatProperties.class) // 启用配置属性，绑定到WeChatProperties类
@EnableScheduling // 启用定时任务调度
@EnableCaching // 启用缓存
public class ZzylApplication {

	public static void main(String[] args) {
		SpringApplication.run(ZzylApplication.class, args);
	}
}
